package com.team.ssm_item_lj.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 传感器数据表(SensorData)实体类
 *
 * @author makejava
 * @since 2024-12-05 10:44:30
 */
public class SensorData implements Serializable {
    private static final long serialVersionUID = 945373803829066371L;
/**
     * 传感器数据ID
     */
    private Integer id;
/**
     * 设备ID
     */
    private Integer deviceId;
/**
     * 温度
     */
    private Object temperature;
/**
     * 湿度
     */
    private Object humidity;
/**
     * 重量
     */
    private Object weight;
/**
     * 采集时间
     */
    private Date timestamp;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Object getTemperature() {
        return temperature;
    }

    public void setTemperature(Object temperature) {
        this.temperature = temperature;
    }

    public Object getHumidity() {
        return humidity;
    }

    public void setHumidity(Object humidity) {
        this.humidity = humidity;
    }

    public Object getWeight() {
        return weight;
    }

    public void setWeight(Object weight) {
        this.weight = weight;
    }

    public Date getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Date timestamp) {
        this.timestamp = timestamp;
    }

}

